home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / utility / 54 / utl / li.doc < prev    next >
Encoding:
Text File  |  1986-09-18  |  4.8 KB  |  182 lines

  1.  
  2.  
  3. LI.PRG       V2.0
  4.  
  5.  
  6.  
  7.                                       Preface
  8.  
  9.      This  program  accepts  a  filename  path  specification  and  prints the
  10.      matching  list  on  the  screen  or the printer.  It prints the filename,
  11.      filesize  (<DIRECORY>,<LABEL>),  date  of  creation, time of creation and
  12.      read/write  flag.   A  wildcard  search  of the root will also return the
  13.      disk  label.   This  version sorts the filenames, followed by folders and
  14.      finally the disk label (uses a dumb bubble sort, sorry).  
  15.  
  16. INSTALLATION OPTIONS 
  17.  
  18.      It   can   be   installed  in  several  methodes  making  varing  options
  19.      available.  
  20.  
  21.      It  can be run from a CLI, the DESKTOP or as a Tos Takes  Parameters.  In
  22.      command  mode  you  are prompted for the filespecification, the directory
  23.      prints  and  it  asks  you  if you wish to continue.  Press CTRL/C at any
  24.      time  to  abort.   You  may enter the command mode by running the program
  25.      from  the   DESKTOP  or  entering  it  from a CLI with no parameters.  In
  26.      parameter  passing mode, the program prints the directory and exits.  You
  27.      may  enter  the  parameter  mode  by  passing  a  parameter from a CLI or
  28.      renaming it to a TTP filetype.  
  29.  
  30. FILESPECIFICATIONS 
  31.  
  32.      Filename  specifications  can  have any path name.  Searches thru folders
  33.      are  NOT  performed automatically, use must specify the subdirectory path
  34.      names.  
  35.  
  36.              Examples:
  37.                      A:\SOURCES\C\*.*
  38.                      C:\AUTO\*.PRG
  39.                      B:LI.*
  40.                      D:FLASH.*/O=C
  41.             (see below for use of special character "/")
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.      Directory printer program
  61.  
  62.  
  63. LI.PRG       V2.0
  64.  
  65.  
  66. Additional features: 
  67.  
  68.           Output to printer or screen.  
  69.  
  70.                If  you  include  the  "/O"  (notice the difference between the
  71.                folder  definition and the switch definition), you can redirect
  72.                the output.  
  73.  
  74.                     LI A:\AUTO\*.PRG/O
  75.  
  76.                       List all files in folder "AUTO" with a program extention
  77.                       to the screen (default if no switch also).
  78.  
  79.                     LI A:*.*/O=C
  80.  
  81.                       List all files on root of drive A to the screen.
  82.  
  83.                     LI A:*.BAS/O=P
  84.  
  85.                       List all files with filetype BAS to the printer.
  86.  
  87.  
  88.  
  89.           Sort or don't sort filenames.  
  90.  
  91.                If  you  include a "/S", the program will sort the filenames by
  92.                the  first  14  bytes (directories follow filenames, disk label
  93.                is  last).   If  you specify "/N", the program will display the
  94.                filenames  in  the  order they were created by DOS.  Default is
  95.                to sort.  
  96.  
  97.                     LI *.PI?/N
  98.  
  99.                       List all files on current drive with picture filetypes,
  100.                       in the order of creation by DOS.
  101.  
  102.                     LI a:*.C/N/O=P
  103.  
  104.                       List all "C" source files to the printer, in order of
  105.                       creation by DOS.
  106.  
  107.  
  108.  
  109.      Known problems: 
  110.  
  111.         1) Prints  some  null  (I  believe  they're  hidden  files) files when
  112.            searching  folders.   I'm  having trouble with the flag word passed
  113.            to GEMDOS to select what files to return.  
  114.  
  115.         2) It has a file limit of 544 files (wierd number, huh).  
  116.  
  117.  
  118.  
  119.  
  120.      Directory printer program
  121.  
  122.  
  123. LI.PRG       V2.0
  124.  
  125.  
  126.      Future plans: 
  127.  
  128.           I  am planning on adding features which permit searching of multiple
  129.           filespecifications in one command line.  
  130.  
  131.           LI A:\*.BAS, B:\*.BAS, C:\SOURCES\BASIC\*.* 
  132.  
  133.                Find me all my basic sources in those 3 directories.  
  134.  
  135.  
  136.           I  would  like  to  add switches that control which items are output
  137.           and value searches for certain items.  
  138.  
  139.           LI *.BAS/FULL 
  140.  
  141.                Show me name, size, date, time, read/write flags.  
  142.  
  143.           LI *.BAS/NAME/SIZE 
  144.  
  145.                Show me the name and size only.  
  146.  
  147.           LI *.TXT/SIZE>10000 
  148.  
  149.                Show me all text files with size greater than 10000 bytes.  
  150.  
  151.           LI *.PRG/BEFORE:29-Apr-86/AFTER:01-Aug-86 
  152.  
  153.                Show  me  all program files created between those dates.  (this
  154.                one will be tough to do) 
  155.  
  156.  
  157.  
  158.  
  159.  
  160.      [73637,30] Tom Mynar 
  161.  
  162.      (c) COPYRIGHT 1986 BY THOMAS J. MYNAR
  163.      THIS SOFTWARE MAY BE COPIED AND DISTRIBUTED FREELY WITH THE
  164.      INCLUSION OF THIS NOTICE.  NO WARRANTY AND/OR USEABLITY IS
  165.      IMPLIED.
  166.  
  167.      LI.PRF-09/13/86
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.      Directory printer program
  181.  
  182. əəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəəə